package model;
 
public class Constantes {
	public static final String PRIMEIRA_MICRO_INSTRUCAO = "111111111";
	public static final String ATUALIZA_PC = "000000000";
	public static final String REND_RECEBE_PC = "000000001";
	public static final String RDADO_RECEBE_INFORMACAO_LIDA = "000000010";
	public static final String RX_RECEBE_RDADO = "000000011";
	public static final String RY_RECEBE_RJ = "000000100";
	public static final String RY_RECEBE_R0 = "000000101";
	public static final String RY_RECEBE_R1 = "000000110";
	public static final String RY_RECEBE_R2 = "000000111";
	public static final String RY_RECEBE_R3 = "000001000";
	public static final String RY_RECEBE_R4 = "000001001";
	public static final String RJ_RECEBE_OPERACAO = "000001010";
	public static final String R0_RECEBE_SOMA = "000001011";
	public static final String R1_RECEBE_SOMA = "000001100";
	public static final String R2_RECEBE_SOMA = "000001101";
	public static final String R3_RECEBE_SOMA = "000001110";
	public static final String R4_RECEBE_SOMA = "000001111";
	public static final String R0_RECEBE_DIFERENCA = "000010000";
	public static final String R1_RECEBE_DIFERENCA = "000010001";
	public static final String R2_RECEBE_DIFERENCA = "000010010";
	public static final String R3_RECEBE_DIFERENCA = "000010011";
	public static final String R4_RECEBE_DIFERENCA = "000010100";
	public static final String R0_RECEBE_E = "000010101";
	public static final String R1_RECEBE_E = "000010110";
	public static final String R2_RECEBE_E = "000010111";
	public static final String R3_RECEBE_E = "000011000";
	public static final String R4_RECEBE_E = "000011001";
	public static final String R0_RECEBE_OU = "000011010";
	public static final String R1_RECEBE_OU = "000011011";
	public static final String R2_RECEBE_OU = "000011100";
	public static final String R3_RECEBE_OU = "000011101";
	public static final String R4_RECEBE_OU = "000011110";
	public static final String ATUALIZA_PC_2 = "000011111";
	public static final String REND_RECEBE_PC_2 = "000100000";
	public static final String RDADO_RECEBE_INFORMACAO_LIDA_BUSCA = "000100001";
	public static final String IR_RECEBE_RDADO = "000100010";
	public static final String INSTRUCAO_HALT = "000100011";
	public static final String REND_RECEBE_RJ = "000100100";
	public static final String REND_RECEBE_R0 = "000100101";
	public static final String REND_RECEBE_R1 = "000100110";
	public static final String REND_RECEBE_R2 = "000100111";
	public static final String REND_RECEBE_R3 = "000101000";
	public static final String REND_RECEBE_R4 = "000101001";
	public static final String RDADO_RECEBE_INFORMACAO_LIDA_2 = "000101010";
	public static final String RY_RECEBE_RDADO = "000101011";
	public static final String ATUALIZA_PC_3 = "000101100";
	public static final String RDADO_RECEBE_INFORMACAO_LIDA_3 = "000101101";
	public static final String RX_RECEBE_RDADO_2 = "000101110";
	public static final String REND_RECEBE_RJ_2 = "000101111";
	public static final String REND_RECEBE_R0_2 = "000110000";
	public static final String REND_RECEBE_R1_2 = "000110001";
	public static final String REND_RECEBE_R2_2 = "000110010";
	public static final String REND_RECEBE_R3_2 = "000110011";
	public static final String REND_RECEBE_R4_2 = "000110100";
	public static final String REND_RECEBE_RX = "000110101";
	public static final String RX_RECEBE_RI = "000110110";
	public static final String RX_RECEBE_R0 = "000110111";
	public static final String RX_RECEBE_R1 = "000111000";
	public static final String RX_RECEBE_R2 = "000111001";
	public static final String RX_RECEBE_R3 = "000111010";
	public static final String RX_RECEBE_R4 = "000111011";
	public static final String RY_RECEBE_OPERACAO = "000111100";
	public static final String RY_RECEBE_SOMA = "000111101";
	public static final String RY_RECEBE_DIFERENCA = "000111110";
	public static final String RY_RECEBE_E = "000111111";
	public static final String RY_RECEBE_OU = "001000000";
	public static final String REND_RECEBE_RI = "0010000001";
	public static final String CAMINHO = "001000010";
	public static final String CAMINHO_2 = "001000011";
	public static final String CAMINHO_3 = "001000100";
	public static final String CAMINHO_4 = "001000101";
	public static final String CAMINHO_5 = "001000110";
	public static final String CAMINHO_6 = "001000111";
	public static final String REND_RECEBE_RY = "001001000";
	public static final String REND_RECEBE_R0_3 = "001001001";
	public static final String REND_RECEBE_R1_3 = "001001010";
	public static final String REND_RECEBE_R2_3 = "001001011";
	public static final String REND_RECEBE_R3_3 = "001001100";
	public static final String REND_RECEBE_R4_3 = "001001101";
	public static final String REND_RECEBE_RI_2 = "001001110";
	public static final String REND_RECEBE_R0_4 = "001001111";
	public static final String REND_RECEBE_R1_4 = "001010000";
	public static final String REND_RECEBE_R2_4 = "001010001";
	public static final String REND_RECEBE_R3_4 = "001010010";
	public static final String REND_RECEBE_R4_4 = "001010011";
	public static final String RJ_RECEBE_RDADO = "001010100";
	public static final String R0_RECEBE_RDADO = "001010101";
	public static final String R1_RECEBE_RDADO = "001010110";
	public static final String R2_RECEBE_RDADO = "001010111";
	public static final String R3_RECEBE_RDADO = "001011000";
	public static final String R4_RECEBE_RDADO = "001011001";
	public static final String RX_COMPARA_RY = "001011010";
	public static final String RX_RECEBE_RI_2 = "001011011";
	public static final String RX_RECEBE_R0_2 = "001011100";
	public static final String RX_RECEBE_R1_2 = "001011101";
	public static final String RX_RECEBE_R2_2 = "001011110";
	public static final String RX_RECEBE_R3_2 = "001011111";
	public static final String RX_RECEBE_R4_2 = "001100000";
	public static final String RI_RECEBE_OPERACAO = "001100001";
	public static final String R0_RECEBE_NOT = "001100010";
	public static final String R1_RECEBE_NOT = "001100011";
	public static final String R2_RECEBE_NOT = "001100100";
	public static final String R3_RECEBE_NOT = "001100101";
	public static final String R4_RECEBE_NOT = "001100110";
	public static final String R0_RECEBE_DESLOCAMENTO_ESQUERDA = "001100111";
	public static final String R1_RECEBE_DESLOCAMENTO_ESQUERDA = "001101000";
	public static final String R2_RECEBE_DESLOCAMENTO_ESQUERDA = "001101001";
	public static final String R3_RECEBE_DESLOCAMENTO_ESQUERDA = "001101010";
	public static final String R4_RECEBE_DESLOCAMENTO_ESQUERDA = "001101011";
	public static final String R0_RECEBE_DESLOCAMENTO_DIREITA = "001101100";
	public static final String R1_RECEBE_DESLOCAMENTO_DIREITA = "001101101";
	public static final String R2_RECEBE_DESLOCAMENTO_DIREITA = "001101110";
	public static final String R3_RECEBE_DESLOCAMENTO_DIREITA = "001101111";
	public static final String R4_RECEBE_DESLOCAMENTO_DIREITA = "001110000";
	public static final String RX_RECEBE_OPERACAO = "001110001";
	public static final String RX_RECEBE_NOT = "001110010";
	public static final String RX_RECEBE_DESLOCAMENTO_ESQUERDA = "001110011";
	public static final String RX_RECEBE_DESLOCAMENTO_DIREITA = "001110100";
	public static final String REND_RECEBE_RX_2 = "001110101";
	public static final String REND_RECEBE_RI_3 = "001110110";
	public static final String REND_RECEBE_R0_5 = "001110111";
	public static final String REND_RECEBE_R1_5 = "001111000";
	public static final String REND_RECEBE_R2_5 = "001111001";
	public static final String REND_RECEBE_R3_5 = "001111010";
	public static final String REND_RECEBE_R4_5 = "001111011";
	public static final String RJ_RECEBE_RI = "001111100";
	public static final String R0_RECEBE_R1 = "001111101";
	public static final String R0_RECEBE_R2 = "001111110";
	public static final String R0_RECEBE_R3 = "001111111";
	public static final String R0_RECEBE_R4 = "010000000";
	public static final String R1_RECEBE_R0 = "010000001";
	public static final String R1_RECEBE_R2 = "010000010";
	public static final String R1_RECEBE_R3 = "010000011";
	public static final String R1_RECEBE_R4 = "010000100";
	public static final String R2_RECEBE_R0 = "010000101";
	public static final String R2_RECEBE_R1 = "010000110";
	public static final String R2_RECEBE_R3 = "010000111";
	public static final String R2_RECEBE_R4 = "010001000";
	public static final String R3_RECEBE_R0 = "010001001";
	public static final String R3_RECEBE_R1 = "010001010";
	public static final String R3_RECEBE_R2 = "010001011";
	public static final String R3_RECEBE_R4 = "010001100";
	public static final String R4_RECEBE_R0 = "010001101";
	public static final String R4_RECEBE_R1 = "010001110";
	public static final String R4_RECEBE_R2 = "010001111";
	public static final String R4_RECEBE_R3 = "010010000";
	public static final String REND_RECEBE_PC_MAIS_1 = "010010001";
	public static final String RY_RECEBE_RDADO_2 = "010010010";
	public static final String RY_RECEBE_RI = "010010011";
	public static final String RY_RECEBE_R0_2 = "010010100";
	public static final String RY_RECEBE_R1_2 = "010010101";
	public static final String RY_RECEBE_R2_2 = "010010110";
	public static final String RY_RECEBE_R3_2 = "010010111";
	public static final String RY_RECEBE_R4_2 = "010011000";
	public static final String PC_RECEBE_OPERACAO = "010011001";
	public static final String PC_RECEBE_DESVIO_SE_ZERO = "010011010";
	public static final String PC_RECEBE_DESVIO_SE_NEGATIVO = "010011011";
	public static final String PC_RECEBE_DESVIO_SE_MENOR = "010011100";
	public static final String PC_RECEBE_DESVIO_SE_MAIOR = "010011101";
	public static final String PC_RECEBE_DESVIO_SE_CARRY = "010011110";
	public static final String PC_RECEBE_DESVIO_SE_NAO_ZERO = "010011111";
	public static final String PC_RECEBE_DESVIO_SE_NAO_NEGATIVO = "010100000";
	public static final String PC_RECEBE_DESVIO_SE_NAO_CARRY = "010100001";
	public static final String PC_RECEBE_DESVIO_SE_OVERFLOW = "010100010";
	public static final String PC_RECEBE_DESVIO_SE_NAO_OVERFLOW = "010100011";
	public static final String PC_RECEBE_JUMP = "010100100";
	public static final String R0_RECEBE_NEGACAO = "010100101";
	public static final String R1_RECEBE_NEGACAO = "010100110";
	public static final String R2_RECEBE_NEGACAO = "010100111";
	public static final String R3_RECEBE_NEGACAO = "010101000";
	public static final String R4_RECEBE_NEGACAO = "010101001";
	public static final String R0_LIMPA = "010101010";
	public static final String R1_LIMPA = "010101011";
	public static final String R2_LIMPA = "010101100";
	public static final String R3_LIMPA = "010101101";
	public static final String R4_LIMPA = "010101110";
	public static final String R0_RECEBE_OU_EXCLUSIVO = "010101111";
	public static final String R1_RECEBE_OU_EXCLUSIVO = "010110000";
 	public static final String R2_RECEBE_OU_EXCLUSIVO = "010110001";
	public static final String R3_RECEBE_OU_EXCLUSIVO = "010110010";
	public static final String R4_RECEBE_OU_EXCLUSIVO = "010110011";
	public static final String R0_RECEBE_INCREMENTA = "010110100";
	public static final String R1_RECEBE_INCREMENTA = "010110101";
	public static final String R2_RECEBE_INCREMENTA = "010110110";
	public static final String R3_RECEBE_INCREMENTA = "010110111";
	public static final String R4_RECEBE_INCREMENTA = "010111000";
	public static final String R0_RECEBE_DECREMENTA = "010111001";
	public static final String R1_RECEBE_DECREMENTA = "010111010";
	public static final String R2_RECEBE_DECREMENTA = "010111011";
	public static final String R3_RECEBE_DECREMENTA = "010111100";
	public static final String R4_RECEBE_DECREMENTA = "010111101";
	public static final String RX_RECEBE_NEGACAO = "010111110";
	public static final String RX_LIMPA = "010111111";
	public static final String RY_RECEBE_OU_EXCLUSIVO = "011000000";
	public static final String RX_RECEBE_INCREMENTA = "011000001";
	public static final String RX_RECEBE_DECREMENTA = "011000010";
	public static final String REND_RECEBE_PC_3 = "011000011";
	public static final String ATUALIZA_PC_4 = "011000100";
	public static final String REND_RECEBE_PC_4 = "011000101";
	public static final String REALIZA_OPERACAO = "OPERACAO";
	public static final String OPERACAO_ADD = "ADD";
	public static final String OPERACAO_SUB = "SUB";
	public static final String OPERACAO_MOV = "MOV";
	public static final String OPERACAO_CMP = "CMP";
	public static final String OPERACAO_AND = "AND";
	public static final String OPERACAO_OR  = "OR";
	public static final String OPERACAO_NOT = "NOT";
	public static final String OPERACAO_CLR = "CLR";
	public static final String OPERACAO_NEG = "NEG";
	public static final String OPERACAO_SHL = "SHL";
	public static final String OPERACAO_SHR = "SHR";
	public static final String OPERACAO_BRZ = "BRZ";
	public static final String OPERACAO_BRN = "BRN";
	public static final String OPERACAO_BRE = "BRE";
	public static final String OPERACAO_BRL = "BRL";
	public static final String OPERACAO_BRG = "BRG";
	public static final String OPERACAO_BRC = "BRC";
	public static final String OPERACAO_JMP = "JMP";
	public static final String OPERACAO_XOR = "XOR";
	public static final String OPERACAO_TEST = "TEST";
	public static final String OPERACAO_INC = "INC";
	public static final String OPERACAO_DEC = "DEC";
	public static final String OPERACAO_BRNZ = "BRNZ";
	public static final String OPERACAO_BRNN = "BRNN";
	public static final String OPERACAO_BRNC = "BRNC";
	public static final String OPERACAO_BRO = "BRO";
	public static final String OPERACAO_BRNO = "BRNO";
	public static final String OPERACAO_HALT = "HALT";
	public static final int INDICE_ADD = 0;
	public static final int INDICE_SUB = 5;
	public static final int INDICE_AND = 10;
	public static final int INDICE_OR  = 15;
	public static final int INDICE_NOT = 20;
	public static final int INDICE_SHL = 25;
	public static final int INDICE_SHR = 30;
	public static final int INDICE_NEG = 35;
	public static final int INDICE_CLR = 40;
	public static final int INDICE_XOR = 45;
	public static final int INDICE_INC = 50;
	public static final int INDICE_DEC = 55;
	public static final long LIMITE_CONSTANTE = 2147483648L;
	public static final long LIMITE_NEGATIVO_CONSTANTE = -2147483648L;
	public static final long LIMITE_LABEL = 4294967295L;
	public static final long LIMITE_NEGATIVO_LABEL = -4294967295L;
	public static final int ERRO = -999999;
	public static final int CONSTANTE = 0;
	public static final int R0 = 1;
	public static final int R1 = 2;
	public static final int R2 = 3;
	public static final int R3 = 4;
	public static final int R4 = 5;
	public static final int PR0 = 6;
	public static final int PR1 = 7;
	public static final int PR2 = 8;
	public static final int PR3 = 9;
	public static final int PR4 = 10;
	public static final int R0_ATIVADO = 0;
	public static final int R0_DESATIVADO = 1;
	public static final int R1_ATIVADO = 2;
	public static final int R1_DESATIVADO = 3;
	public static final int PC_ATIVADO = 4;
	public static final int PC_DESATIVADO = 5;
	public static final int R2_ATIVADO = 6;
	public static final int R2_DESATIVADO = 7;
	public static final int R3_ATIVADO = 8;
	public static final int R3_DESATIVADO = 9;
	public static final int R4_ATIVADO = 10;
	public static final int R4_DESATIVADO = 11;
	public static final int IR_ATIVADO = 12;
	public static final int IR_DESATIVADO = 13;
	public static final int RDADO_ATIVADO = 14;
	public static final int RDADO_DESATIVADO = 15;
	public static final int REND_ATIVADO = 16;
	public static final int REND_DESATIVADO = 17;
	public static final int MUX_ATIVADO = 18;
	public static final int MUX_DESATIVADO = 19;
	public static final int MUX_A_RDADO = 20;
	public static final int MUX_A_R0 = 21;
	public static final int MUX_A_R1 = 22;
	public static final int MUX_A_RX = 23;
	public static final int MUX_B_R2 = 24;
	public static final int MUX_B_R3 = 25;
	public static final int MUX_B_R4 = 26;
	public static final int MUX_B_RY = 27;
	public static final int MUX_B_PC = 28;
	public static final int A = 29;
	public static final int B = 30;
	public static final int A_MAIS_1 = 31;
	public static final int A_MAIS_B = 32;
	public static final int A_MENOS_B = 33;
	public static final int A_AND_B = 34;
	public static final int A_OR_B = 35;
	public static final int A_SHIFT_LEFT = 36;
	public static final int A_SHIFT_RIGHT = 37;
	public static final int B_SHIFT_LEFT = 38;
	public static final int B_SHIFT_RIGHT = 39;
	public static final int A_MENOS_1 = 40;
	public static final int B_MAIS_1 = 41;
	public static final int B_MENOS_1 = 42;
	public static final int B_MENOS_A = 43;
	public static final int MEMORIA_ATIVADO = 44;
	public static final int MEMORIA_DESATIVADO = 45;
	public static final int RX_ATIVADO = 46;
	public static final int RX_DESATIVADO = 47;
	public static final int RY_ATIVADO = 48;
	public static final int RY_DESATIVADO = 49;
	public static final int NOT_A = 50;
	public static final int ULA_BRZ = 51;
	public static final int ULA_BRN = 52;
	public static final int ULA_BRL = 53;
	public static final int ULA_BRG = 54;
	public static final int ULA_BRC = 55;
	public static final int ULA_BRNZ = 56;
	public static final int ULA_BRNN = 57;
	public static final int ULA_BRNC = 58;
	public static final int ULA_BRO = 59;
	public static final int ULA_BRNO = 60;
	public static final int NEGACAO_A = 61;
	public static final int CLEAR_A = 62;
	public static final int A_XOR_B = 63;
	public static final int ULA_JUMP = 64;
	public static final String BITS_CONSTANTE = "00";
	public static final String BITS_LABEL = "01";
	public static final String BITS_INSTRUCAO = "10";
	public static final String ADD = "10000000";
	public static final String SUB = "10000001";
	public static final String MOV = "10000010";
	public static final String CMP = "10000011";
	public static final String AND = "10000100";
	public static final String OR  = "10000101";
	public static final String NOT = "10000110";
	public static final String CLR = "10000111";
	public static final String NEG = "10001000";
	public static final String SHL = "10001001";
	public static final String SHR = "10001010";
	public static final String BRZ = "10001011";
	public static final String BRN = "10001100";
	public static final String BRE = "10001101";
	public static final String BRL = "10001110";
	public static final String BRG = "10001111";
	public static final String BRC = "10010000";
	public static final String JMP = "10010001";
	public static final String XOR = "10010010";
	public static final String TEST = "10010011";
	public static final String INC = "10010100";
	public static final String DEC = "10010101";
	public static final String BRNZ = "10010110";
	public static final String BRNN = "10010111";
	public static final String BRNC = "10011000";
	public static final String BRO = "10011001";
	public static final String BRNO = "10011010";
	public static final String HALT = "10011100";
	public static final String CONSTANTE_FONTE = "0000";
	public static final String R0_FONTE = "0001";
	public static final String R1_FONTE = "0010";
	public static final String R2_FONTE = "0011";
	public static final String R3_FONTE = "0100";
	public static final String R4_FONTE = "0101";
	public static final String PR0_FONTE = "0110";
	public static final String PR1_FONTE = "0111";
	public static final String PR2_FONTE = "1000";
	public static final String PR3_FONTE = "1001";
	public static final String PR4_FONTE = "1010";
	public static final String LABEL_FONTE = "1011";
	public static final String NENHUMA_FONTE = "1100";
	public static final String R0_DESTINO = "0000";
	public static final String R1_DESTINO = "0001";
	public static final String R2_DESTINO = "0010";
	public static final String R3_DESTINO = "0011";
	public static final String R4_DESTINO = "0100";
	public static final String PR0_DESTINO = "0101";
	public static final String PR1_DESTINO = "0110";
	public static final String PR2_DESTINO = "0111";
	public static final String PR3_DESTINO = "1000";
	public static final String PR4_DESTINO = "1001";
	public static final String NENHUM_DESTINO = "1010";
	public static final String ZEROS_FINAL_INSTRUCAO = "0000000000000000";
	public static final int RODAPROGRAMA = 0;
	public static final int RODAINSTRUCAO = 1;
	public static final int RODAMICRO = 2;
	public static final int TAMANHO_PALAVRA = 32;
	public static final int TAMANHO_CACHE = 12;
	public static final int TAMANHO_BLOCO_CACHE = 4;
	public static final int CONSTANTE_REGISTRADOR = 0;
	public static final int CONSTANTE_ENDERECO = 1;
	public static final int REGISTRADOR_REGISTRADOR = 2;
	public static final int REGISTRADOR_ENDERECO = 3;
	public static final int ENDERECO_REGISTRADOR = 4;
	public static final int ENDERECO_ENDERECO = 5;
	public static final int REGISTRADOR = 6;
	public static final int ENDERECO = 7;
	public static final int LABEL = 8;
	public static final int TIPO_CONSTANTE = 0;
	public static final int TIPO_REGISTRADOR = 1;
	public static final int TIPO_ENDERECO = 2;
	public static final int TIPO_LABEL = 3;
	public static final int TIPO_NENHUM = 4;
}
